﻿using QLNH.MyForms;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using IRemoting;

namespace QLNH.MyLayouts
{
    public class LayoutUC : UserControl
    {
        protected MainForm mainForm;
        protected FormKey curentForm;

        virtual public void Resize(Size size)
        {
            this.Size = size;
        }

        //chuyen doi qua lai giua cac form con
        virtual public void SwitchForm(FormKey key)
        {
        }

        virtual public void SwitchForm(FormKey key, params object[] values)
        {
        }

        //hien thi form con
        virtual public void InstallForm(FormUC form)
        {
        }

        // Nhan du lieu
        virtual public void OnReceivePackage(BasePackage package)
        {
        }
    }
}
